package com.me.modules.sla.job;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * SLA定时任务
 *
 * @author jindouyun
 * @Date 2018-08-25 09:33:10
 */
@Slf4j
@Component("slaJobUtil")
public class SlaJobUtil {

    public void SlaExpire(String params) {
        log.info("我是带参数的test方法，正在被执行，参数为：" + params);

        try {
            Thread.sleep(1000L);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        log.info("执行成功");

    }
}
